PrestoPlayer\Services\API\RestAudioPresetsController S

Total Complexity 27
Dependencies 4
Dependents 0
Total lines 727
Lines of code 573
Logical lines of code 64
Comment lines 90
Methods 16
Properties 3

Methods 16

Method Rating Maintainability Complexity Lines of code
get_preset_schema()
A
27
1 249
prepare_item_for_database()
A
32 1 153
get_items()
S
53 4 23
register_routes()
S
44 1 55
create_item()
S
59 3 14
update_item()
S
59 3 13
delete_item()
S
61 3 11
prepare_item_for_response()
S
62 3 11
get_collection_params()
S
56 1 21
register()
S
79 1 3
get_item()
S
71 1 5
get_items_permissions_check()
S
80 1 3
get_item_permissions_check()
S
80 1 3
create_item_permissions_check()
S
80 1 3
update_item_permissions_check()
S
80 1 3
delete_item_permissions_check()
S
80 1 3